/**
 *
 */
package gemini.pollux.ui.client.service;

import gemini.basic.model.ProductType;

import java.util.ArrayList;

import org.springframework.transaction.annotation.Transactional;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

/**
 *
 *
 */
@RemoteServiceRelativePath("productTypeService.rpc")
@Transactional(rollbackFor = Throwable.class, readOnly = false)
public interface ProductTypeService extends RemoteService {
	public ArrayList<ProductType> getAllProductTypes();
	public void deleteProductType(Integer id);
	public ProductType saveOrUpdateProductType(ProductType productType);
}
